package com.elitel.frame.base.service;

import com.elitel.frame.main.entity.BaseReptemplate;


import java.util.List;

import javax.servlet.http.HttpServletRequest;


public interface BaseReptempletService {

	BaseReptemplate selectBaseRepTemplateByPrimary(String tempid);
	
	/**
	 * <pre>selectReptempleList(返回模板集合)   
	 * @author：FanWenquan    
	 * @date：2017年8月22日 下午1:55:08   
	 * @return</pre>
	 */
	List<BaseReptemplate> selectReptempleList();

	Long selectCount(String seachTxt);

	List<BaseReptemplate> queryReptemplateByPaging(String seachTxt, String pageNo, String pageSize);

	int insertReptemplate(BaseReptemplate baseReptemplet);

	BaseReptemplate selectReptemplateByKey(String guid);

	int updateReptemplate(BaseReptemplate baseReptemplet);

	void deleteReptemplate(String guid, HttpServletRequest request) throws Exception;

	BaseReptemplate getReptemplateByServiceid(String serviceid);

}
